package my.sample.junk;

public class VariableArgs {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		myMethod(100, 1,2,3,4);

	}
	
	public static void myMethod(Integer number , Integer... ints) {
		System.out.println(ints.getClass());
		System.out.println(ints.length);
		
		System.out.println(number);
		for ( Integer i : ints)
			System.out.println(i);
	}

}
